package cn.edu.seig.springks.pojo;

import lombok.Data;

@Data
public class product {
    int p_id;
    String name;
    String type;
    String description;
    double price;
    String image;

    public product(int p_id, String name, String type, String description, double price, String image) {
        this.p_id = p_id;
        this.name = name;
        this.type = type;
        this.description = description;
        this.price = price;
        this.image = image;
    }

    public product() {

    }

    public product(int i, String testProduct, double v, String description, String imageUrl) {
        this.p_id = i;
        this.name = testProduct;
        this.price = v;
        this.description = description;
        this.image = imageUrl;
    }
}
